Skip to contentSkip to conversation

python3-soundcard: Add recipe

PATCH Superseded Jan Claußen 3 participants 6 messages Nov 28, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-soundcard: Add recipe

---
 .../python/python3-soundcard_0.4.5.bb                | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +12 -0
new file mode 100644
index 0000000000..632b54eaef
@@ -0,0 +1,12 @@
+SUMMARY = "Python library for accessing soundcards"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
+
+SRC_URI[sha256sum] = "07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"
+
+inherit pypi setuptools3
+
+REQUIRED_DISTRO_FEATURES = "pulseaudio"
+
+RDEPENDS:${PN} += " \
+    libpulse \
+    pulseaudio-server \
+    python3-cffi \
+    python3-numpy \

+"

Signature · 1 line
2.52.0
#1 lore raw

results in

ERROR: ParseError at /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/ python3-soundcard_0.4.5.bb:13: Unparsed lines /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/
python3-soundcard_0.4.5.bb: ['RDEPENDS:${PN} += " ', ' libpulse ']
ERROR: Parsing halted due to errors, see error messages above

Quoted 52 lines · Jan Claußen via lists.openembedded.org
---
 .../python/python3-soundcard_0.4.5.bb                | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/

python3-soundcard_0.4.5.bb

(quoted diff) +0 -0

python3-soundcard_0.4.5.bb b/meta-python/recipes-devtools/python/ python3-soundcard_0.4.5.bb
new file mode 100644
index 0000000000..632b54eaef

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +5 -0
@@ -0,0 +1,12 @@
+SUMMARY = "Python library for accessing soundcards"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
+
+SRC_URI[sha256sum] =

"07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +11 -1
+
+inherit pypi setuptools3
+
+REQUIRED_DISTRO_FEATURES = "pulseaudio"
+
+RDEPENDS:${PN} += " \
+    libpulse \
+    pulseaudio-server \
+    python3-cffi \
+    python3-numpy \
+"
 
 
 
 
 
--

2.52.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#122121):
https://lists.openembedded.org/g/openembedded-devel/message/122121
Mute This Topic: https://lists.openembedded.org/mt/116512050/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

And REQUIRED_DISTRO_FEATURES = "pulseaudio" probably doesn't do anything without features_check inherit

Quoted 57 lines · Khem Raj via lists.openembedded.org

results in

ERROR: ParseError at /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb:13: Unparsed lines /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb: ['RDEPENDS:${PN} += " ', ' libpulse ']
ERROR: Parsing halted due to errors, see error messages above

Quoted 35 lines · Jan Claußen via lists.openembedded.org
---
 .../python/python3-soundcard_0.4.5.bb                | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +16 -1
new file mode 100644
index 0000000000..632b54eaef
@@ -0,0 +1,12 @@
+SUMMARY = "Python library for accessing soundcards"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
+
+SRC_URI[sha256sum] = "07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"
+
+inherit pypi setuptools3
+
+REQUIRED_DISTRO_FEATURES = "pulseaudio"
+
+RDEPENDS:${PN} += " \
+    libpulse \
+    pulseaudio-server \
+    python3-cffi \
+    python3-numpy \
+"
 
 
 
 
 
--
Quoted 5 lines

2.52.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122127): https://lists.openembedded.org/g/openembedded-devel/message/122127
Mute This Topic: https://lists.openembedded.org/mt/116512050/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

@Martin: Thanks, for pointing that out

I fixed the recipe added inherit features_check. Should maybe also add a meaningful commit message, but I didn't know what to add.

---
 .../python/python3-soundcard_0.4.5.bb            | 16 ++++++++++++++++

 1 file changed, 16 insertions(+)

 create mode 100644 meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +16 -0
new file mode 100644
index 0000000000..e25f13a116
@@ -0,0 +1,16 @@
+SUMMARY = "Python library for accessing soundcards"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
+
+SRC_URI[sha256sum] = "07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"
+
+inherit pypi setuptools3 features_check
+
+REQUIRED_DISTRO_FEATURES = "pulseaudio"
+
+RDEPENDS:${PN} += " \
+    libpulse \
+    pulseaudio-server \
+    python3-cffi \
+    python3-numpy \
+"
Signature · 3 lines
2.52.0

Am 28.11.25 um 21:18 schrieb Martin Jansa:
Quoted 57 lines

And REQUIRED_DISTRO_FEATURES = "pulseaudio" probably doesn't do anything without features_check inherit

Quoted 52 lines · Khem Raj via lists.openembedded.org

results in

ERROR: ParseError at /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb:13: Unparsed lines /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb: ['RDEPENDS:${PN} += " ', ' libpulse ']
ERROR: Parsing halted due to errors, see error messages above

Quoted 32 lines · Jan Claußen via lists.openembedded.org
---
  .../python/python3-soundcard_0.4.5.bb                | 12 ++++++++++++
  1 file changed, 12 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +16 -1
new file mode 100644
index 0000000000..632b54eaef
@@ -0,0 +1,12 @@
+SUMMARY = "Python library for accessing soundcards"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM ="file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
+
+SRC_URI[sha256sum] = "07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"
+
+inherit pypi setuptools3
+
+REQUIRED_DISTRO_FEATURES = "pulseaudio"
+
+RDEPENDS:${PN} += " \
+    libpulse \
+    pulseaudio-server \
+    python3-cffi \
+    python3-numpy \
+"
 
 
 
--
Quoted 5 lines

2.52.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122127):https://lists.openembedded.org/g/openembedded-devel/message/122127 Mute This Topic:https://lists.openembedded.org/mt/116512050/3617156
Group Owner:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw

I added a longer DESCRIPTION, HOMEPAGE and added SECTION = "devel/python".

---

SoundCard is a library for playing and recording audio without resorting to a CPython extension.

---
.../python/python3-soundcard_0.4.5.bb | 20 +++++++++++++++++++

1 file changed, 20 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +20 -0
new file mode 100644
index 0000000000..5116892dad
@@ -0,0 +1,20 @@
+SUMMARY = "Python library for accessing soundcards"
+DESCRIPTION = "SoundCard is a library for playing and recording audio without resorting to a CPython extension"
+HOMEPAGE = "https://github.com/bastibe/SoundCard"
+SECTION = "devel/python"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
+
+SRC_URI[sha256sum] = "07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"
+
+inherit pypi setuptools3 features_check
+
+REQUIRED_DISTRO_FEATURES = "pulseaudio"
+
+RDEPENDS:${PN} += " \
+    libpulse \
+    pulseaudio-server \
+    python3-cffi \
+    python3-numpy \
+"
Signature · 1 line
2.52.0
Quoted 95 lines · Jan Claußen

@Martin: Thanks, for pointing that out

I fixed the recipe added inherit features_check. Should maybe also add a meaningful commit message, but I didn't know what to add.

---
  .../python/python3-soundcard_0.4.5.bb            | 16 ++++++++++++++++
  1 file changed, 16 insertions(+)

 create mode 100644 meta-python/recipes-devtools/python/python3-
soundcard_0.4.5.bb

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +5 -0
new file mode 100644
index 0000000000..e25f13a116
@@ -0,0 +1,16 @@
+SUMMARY = "Python library for accessing soundcards"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
+
+SRC_URI[sha256sum] = 

"07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +11 -0
+
+inherit pypi setuptools3 features_check
+
+REQUIRED_DISTRO_FEATURES = "pulseaudio"
+
+RDEPENDS:${PN} += " \
+    libpulse \
+    pulseaudio-server \
+    python3-cffi \
+    python3-numpy \
+"
Signature · 3 lines
2.52.0

Am 28.11.25 um 21:18 schrieb Martin Jansa:
Quoted 55 lines

And REQUIRED_DISTRO_FEATURES = "pulseaudio" probably doesn't do anything without features_check inherit

Quoted 50 lines · Khem Raj via lists.openembedded.org

results in

ERROR: ParseError at /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb:13: Unparsed lines /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb: ['RDEPENDS:${PN} += " ', ' libpulse ']
ERROR: Parsing halted due to errors, see error messages above

Quoted 30 lines · Jan Claußen via lists.openembedded.org
---
  .../python/python3-soundcard_0.4.5.bb                | 12 ++++++++++++
  1 file changed, 12 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +16 -1
new file mode 100644
index 0000000000..632b54eaef
@@ -0,0 +1,12 @@
+SUMMARY = "Python library for accessing soundcards"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM ="file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
+
+SRC_URI[sha256sum] = "07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"
+
+inherit pypi setuptools3
+
+REQUIRED_DISTRO_FEATURES = "pulseaudio"
+
+RDEPENDS:${PN} += " \
+    libpulse \
+    pulseaudio-server \
+    python3-cffi \
+    python3-numpy \
+"
 
--
Quoted 5 lines

2.52.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122127):https://lists.openembedded.org/g/openembedded-devel/message/122127 Mute This Topic:https://lists.openembedded.org/mt/116512050/3617156
Group Owner:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw

Please send patches with git send-email

Quoted 161 lines · On Fri, Nov 28, 2025 at 2:27 PM <[email protected]> wrote:

I added a longer DESCRIPTION, HOMEPAGE and added SECTION = "devel/python".

---

SoundCard is a library for playing and recording audio without resorting to a CPython extension.

---
 .../python/python3-soundcard_0.4.5.bb         | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/

python3-soundcard_0.4.5.bb

(quoted diff) +0 -0

python3-soundcard_0.4.5.bb b/meta-python/recipes-devtools/python/ python3-soundcard_0.4.5.bb
new file mode 100644
index 0000000000..5116892dad

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +2 -0
@@ -0,0 +1,20 @@
+SUMMARY = "Python library for accessing soundcards"
+DESCRIPTION = "SoundCard is a library for playing and recording audio

without resorting to a CPython extension"

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +7 -0
+HOMEPAGE = "https://github.com/bastibe/SoundCard"
+SECTION = "devel/python"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
+
+SRC_URI[sha256sum] =

"07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +11 -1
+
+inherit pypi setuptools3 features_check
+
+REQUIRED_DISTRO_FEATURES = "pulseaudio"
+
+RDEPENDS:${PN} += " \
+    libpulse \
+    pulseaudio-server \
+    python3-cffi \
+    python3-numpy \
+"
--

2.52.0

Quoted 41 lines · Jan Claußen

@Martin: Thanks, for pointing that out

I fixed the recipe added inherit features_check. Should maybe also add a meaningful commit message, but I didn't know what to add.

---
  .../python/python3-soundcard_0.4.5.bb            | 16 ++++++++++++++++
  1 file changed, 16 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-
soundcard_0.4.5.bb

(quoted diff) +0 -0

soundcard_0.4.5.bb b/meta-python/recipes-devtools/python/python3- soundcard_0.4.5.bb
new file mode 100644
index 0000000000..e25f13a116

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +5 -0
@@ -0,0 +1,16 @@
+SUMMARY = "Python library for accessing soundcards"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
+
+SRC_URI[sha256sum] =

"07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +11 -1
+
+inherit pypi setuptools3 features_check
+
+REQUIRED_DISTRO_FEATURES = "pulseaudio"
+
+RDEPENDS:${PN} += " \
+    libpulse \
+    pulseaudio-server \
+    python3-cffi \
+    python3-numpy \
+"
--

2.52.0

Quoted 9 lines

Am 28.11.25 um 21:18 schrieb Martin Jansa:

Quoted 8 lines

And REQUIRED_DISTRO_FEATURES = "pulseaudio" probably doesn't do anything without features_check inherit

Quoted 3 lines · Khem Raj via lists.openembedded.org

results in

ERROR: ParseError at

/mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/ python3-soundcard_0.4.5.bb:13: Unparsed lines /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/
python3-soundcard_0.4.5.bb: ['RDEPENDS:${PN} += " ', ' libpulse ']

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

ERROR: Parsing halted due to errors, see error messages above

On Fri, Nov 28, 2025 at 3:58 AM Jan Claußen via

lists.openembedded.org<[email protected]>

Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
---
  .../python/python3-soundcard_0.4.5.bb                | 12

++++++++++++

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
  1 file changed, 12 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/

python3-soundcard_0.4.5.bb

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

python3-soundcard_0.4.5.bb b/meta-python/recipes-devtools/python/ python3-soundcard_0.4.5.bb

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb line 3

Quoted 8 lines

new file mode 100644
index 0000000000..632b54eaef

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +3 -0
@@ -0,0 +1,12 @@
+SUMMARY = "Python library for accessing soundcards"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM

="file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb line 5

Quoted 2 lines
meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +2 -0
+
+SRC_URI[sha256sum] =

"07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"

Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file +11 -1
+
+inherit pypi setuptools3
+
+REQUIRED_DISTRO_FEATURES = "pulseaudio"
+
+RDEPENDS:${PN} += " \
+    libpulse \
+    pulseaudio-server \
+    python3-cffi \
+    python3-numpy \
+"
 
--

2.52.0

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#122127):

https://lists.openembedded.org/g/openembedded-devel/message/122127

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Mute This Topic:https://lists.openembedded.org/mt/116512050/3617156 Group Owner:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-devel/unsub

[[email protected]]

Quoted 3 lines
Quoted 2 lines
Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-